package param.secondStage;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

import param.pub.Publicresponse;
import param.pub.Station;

@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlRootElement(name = "stationsynresponse")
public class StationSynResponse implements Serializable {

	private static final long serialVersionUID = 1L;

	private Publicresponse publicresponse;
	private List<Station> stations;

	@XmlElement(name = "publicresponse")
	public Publicresponse getPublicresponse() {
		return publicresponse;
	}

	public void setPublicresponse(Publicresponse publicresponse) {
		this.publicresponse = publicresponse;
	}

	@XmlElementWrapper(name = "stations")
	@XmlElement(name = "station")
	public List<Station> getStations() {
		return stations;
	}

	public void setStations(List<Station> stations) {
		this.stations = stations;
	}
}
